<?php 
session_start();
session_destroy();
// echo "<script>alert('退出成功！');parent.location.href='login.php';</script>";
echo json_encode(["code"=>0,"msg"=>"退出成功"],JSON_UNESCAPED_UNICODE);
?>